
{if $menu_main=='' || ($menu_main=='rates' && $menu_sub=='')}
    <script type="text/javascript">
	{if !$Staff->Login()}
	window.location="/{$lang}/free-trial.html";
	{else}
        window.location="/{$lang}/subscribe.html";
	{/if}
     </script>
{/if}

{*
<div class="SubMenu">
<table class="menu_left" border="0" cellpadding="0" cellspacing="0">

{foreach key="itr" from=$menuData item=subItem}

    {if $subItem[2]==1}
		<tr onMouseOver="javascript:menu_over(this);" onMouseOut="javascript: menu_out(this);" onClick="javascript: menu_click('/{$lang}/rates-{$subItem[0]}.html');">
	    	<td
	    	{if $smarty.get.s==$subItem[0] || ($smarty.get.s=="expired" && $subItem[0]=="trial")}
	    		class="submenuCaption"

	    	{/if}
	    	>{$subItem[1]}</td>
			<td
			{if $smarty.get.s==$subItem[0] || ($smarty.get.s=="expired" && $subItem[0]=="trial")}
	    		class="submenuCaption"
	    	{/if}
	    	 align="right">></td>
		</tr>
	{/if}
{/foreach}

</table>
</div>
*}
{ include file="menus/_sub_menu.tpl" lang=`$lang` menu_page=`$menu_page` menu_main=`$menu_main` menu_sub=`$menu_sub` menuData=`$menuData`}
<br>
{if $menu_sub!='trial' && $menu_sub!='affiliate'}
	{ include file="texts/_sparklines.tpl"}
{/if}
{if $menu_sub!='guarantee'}
	{ include file="_guarantee.tpl"}
{else}
	{ include file="_trial.tpl"}
{/if}


